package com.senac.exception;

public class DisciplinaException extends Exception {

	private static final long serialVersionUID = -1772281284082565054L;
	
	
	public enum DISC_ERROR {DISC_NAME_EMPTY, DISC_NAME_INVALID_LENGTH, DISC_CONT_EMPTY, DISC_CONT_INVALID_LENGTH, DISC_CARGA_HORARIA};

	private DISC_ERROR error;

	public DisciplinaException(DISC_ERROR error) {
		this.error = error;
	}
	
	public DISC_ERROR getError() {
		return error;
	}

	public void setError(DISC_ERROR error) {
		this.error = error;
	}
	
	

}
